public class Teacher extends Person{
    @Override
    public void eat() {
        System.out.println("年龄为"+age+"岁"+name+"老师，正在吃工作餐");
    }

    public Teacher() {
    }

    public Teacher(String name, int age) {
        super(name, age);
    }

}
